|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.doclinx.jftr.DEBUG
Class for general debug information output.
Field Summary | |
static int |
CRITICAL
Output critical msgs |
static java.lang.String |
DBGLOG
Default debugfile if one is not specified in preference file. |
static java.lang.String |
DBGPRF
Initialization preference file containing any of three properties: debug = severity ,
console = boolean, and
debugfile = string path name.
|
static int |
NONE
Inhibit debug message |
static int |
STANDARD
Output critical+std |
static int |
VERBOSE
Output all messages |
static int |
wLevel
Severity level (default). |
Constructor Summary | |
DEBUG()
|
Method Summary | |
static void |
close()
Close debug file. |
static void |
critical(java.lang.String sMsg)
Output debug message at CRITICAL priority. |
static void |
criticalException(java.lang.String sMsg,
java.lang.Throwable oThrowable)
Output debug message at CRITICAL priority with exception info. |
static com.doclinx.jftr.Log |
getAsLog()
|
static com.doclinx.jftr.Log |
getAsLog(int severity)
|
static int |
getLevel()
Get current severity level. |
static void |
msg(int wLevel,
java.lang.String sMsg)
Output debug message at specified priority. |
static void |
msg(int wLevel,
java.lang.String sMsg,
java.lang.Throwable oThrowable)
Output debug message at specified priority. |
static void |
setDebugFile(java.lang.String sPath)
|
static void |
setLevel(int level)
Set severity level. |
static void |
setLevel(int level,
boolean init)
Set severity level and reset log file. |
static void |
std(java.lang.String sMsg)
Output debug message at STANDARD priority. |
static void |
verbose(java.lang.String sMsg)
Output debug message at VERBOSE priority. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String DBGPRF
debug = severity
,
console = boolean, and
debugfile = string path name.
public static java.lang.String DBGLOG
public static final int NONE
public static final int CRITICAL
public static final int STANDARD
public static final int VERBOSE
public static int wLevel
Constructor Detail |
public DEBUG()
Method Detail |
public static void setLevel(int level)
level
- Integer value for current severity -- controls
amount of log information based upon message priority.severity codes.
public static void setLevel(int level, boolean init)
level
- Integer value for current severity -- controls
amount of log information based upon message priority.init
- If true, empty debug file.severity codes.
public static int getLevel()
severity codes.
public static void close()
public static void std(java.lang.String sMsg)
sMsg
- String message to output.severity codes.
public static void verbose(java.lang.String sMsg)
sMsg
- String message to output.severity codes.
public static void critical(java.lang.String sMsg)
sMsg
- String message to output.severity codes.
public static void criticalException(java.lang.String sMsg, java.lang.Throwable oThrowable)
sMsg
- String message to output.oThrowable
- object exception causing message to be output.severity codes.
public static void msg(int wLevel, java.lang.String sMsg)
wLevel
- Priority level of message.sMsg
- String message to output.severity codes.
public static void msg(int wLevel, java.lang.String sMsg, java.lang.Throwable oThrowable)
wLevel
- Priority level of message.sMsg
- String message to output.oThrowable
- Throwable associated with this messageseverity codes.
public static void setDebugFile(java.lang.String sPath)
public static com.doclinx.jftr.Log getAsLog()
public static com.doclinx.jftr.Log getAsLog(int severity)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |